
import com.tomasio.projects.welcome.SimpleCamerasService;
import com.tomasio.projects.welcome.dto.CameraDTO;
import com.tomasio.projects.welcome.interfaces.CamerasService;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Install
 */
public class TestCreationOfCamera {
    public static void main(String[] args) {
        CamerasService service = new SimpleCamerasService();

        CameraDTO camera = new CameraDTO();
        camera.setHostname("entrada");
        camera.setIp("10.52.152.43");
        camera.setMac("dd.dd.dd.dd.dd");
        camera.setLegenda("Entrada Principal");
        service.createCamera(camera);
    }
}
